package ys.db2es.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import ys.db2es.mapper.UserDescMapper;
import ys.db2es.pojo.UserDesc;
import ys.db2es.service.UserDescService;

import java.util.List;

@Service
public class UserDescServiceImpl implements UserDescService {

    @Autowired
    private UserDescMapper mapper;

    @Override
    public List<UserDesc> findAll() {
        return mapper.selectList(null);
    }
}
